package exercise;

/**
 * ${DESCRIPTION}
 *
 * @author luoyalan
 * @date 2018/11/25
 */
public class ExerciseMain {
    public static void main(String[] args) {
        //Integer integer = 2;
        //System.out.println(integer instanceof Object);

        Outer.Inner in = new Outer().new Inner();
        in.setId(2L);
        System.out.println(in.getId());

        ILover lover = new ILover() {
            @Override
            public void love(String name) {
                System.out.println("My love:" + name);
            }
        };
        lover.love("yanlan");
    }
}


